package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;
/** 
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-08-02 15:07:38 
 */
@Entity
@Table ( name ="sy_course_class" )
public class SyCourseClass  implements Serializable {

	private static final long serialVersionUID =  8098256508383950012L;

	/**
	 * 主键id
	 */
	@Id
   	@Column(name = "id" )
	private Integer id;

	/**
	 * 分类名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 状态（2正常，3禁用）
	 */
   	@Column(name = "type" )
	private Integer type;

	/**
	 * 排序
	 */
   	@Column(name = "sort" )
	private Integer sort;

	/**
	 * 上级分类id（0为最高，1为二级分类）
	 */
   	@Column(name = "parent_id" )
	private Integer parentId;

	/**
	 * 创建人
	 */
   	@Column(name = "create_id" )
	private Integer createId;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private Date createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_id" )
	private Integer updateId;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private Date updateDate;

	/**
	 * 备注
	 */
   	@Column(name = "remarks" )
	private String remarks;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
